<?php

class Model {
	protected $db;
	public function __construct() {
		$this -> initLink();
	}
	public function initLink() {
		$this->db = new Mysql($GLOBALS['config']['database']);
	}
}